STEP 2: Let's now create two lists from the spreadsheet.

We can access the columns in a spreadsheet using the .get_column() command.

  • In LOGIC, click on and drag in Get Column.
  • Change the title of the column we're getting from "A" to "B". (This is the second column in our spreadsheet.)
  • Then, change the variable name from col to school.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)